package com.t26.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Whenlean
 * @since 2021-06-12
 */
@ApiModel(value="Backend_user对象", description="")
public class Backend_user implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("userCode")
    @ApiModelProperty(value = "用户编码")
    private String userCode;

    @TableField("userName")
    @ApiModelProperty(value = "用户名称")
    private String userName;

    @TableField("userType")
    @ApiModelProperty(value = "用户角色类型")
    private Long userType;

    @TableField("createdBy")
    @ApiModelProperty(value = "创建者")
    private Long createdBy;

    @TableField("creationDate")
    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @TableField("modifyBy")
    @ApiModelProperty(value = "更新者")
    private Long modifyBy;

    @TableField("modifyDate")
    @ApiModelProperty(value = "更新时间")
    private Date modifyDate;

    @TableField("userPassword")
    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @TableField("isActive")
    @ApiModelProperty(value = "状态")
    private Integer isActive;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserType() {
        return userType;
    }

    public void setUserType(Long userType) {
        this.userType = userType;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    @Override
    public String toString() {
        return "Backend_user{" +
        "id=" + id +
        ", userCode=" + userCode +
        ", userName=" + userName +
        ", userType=" + userType +
        ", createdBy=" + createdBy +
        ", creationDate=" + creationDate +
        ", modifyBy=" + modifyBy +
        ", modifyDate=" + modifyDate +
        ", userPassword=" + userPassword +
        ", isActive=" + isActive +
        "}";
    }
}
